package com.bnu;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class SysController {
    @RequestMapping("/{view}")
    public String html(@PathVariable("view")String view){
        return view;
    }//其中view就是你要打开的视图哦
}
